package cn.stylefeng.guns.modular.basicConfig.equipment.equipmentClass.entity;

import cn.stylefeng.roses.kernel.db.api.pojo.entity.BaseEntity;
import cn.stylefeng.roses.kernel.rule.annotation.ChineseDescription;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 设备实例类
 *
 * @author PANL
 * @since 2023/12/01 14:12
 */
@TableName("tc_equipment_class")
@Data
@EqualsAndHashCode(callSuper = true)
public class EquipmentClass extends BaseEntity {

    /**
     * 设备类型编码
     */
    @TableId(value = "eqp_class_code", type = IdType.ASSIGN_ID)
    @ChineseDescription("设备类型编码")
    private String eqpClassCode;

    /**
     * 设备类型名称
     */
    @TableField("eqp_class_name")
    @ChineseDescription("设备类型名称")
    private String eqpClassName;

    /**
     * 精度
     */
    @TableField("eqp_precision")
    @ChineseDescription("精度")
    private String eqpPrecision;

    /**
     * 型号规格
     */
    @TableField("specification")
    @ChineseDescription("型号规格")
    private String specification;

}
